//
//  YILocation.m
//  一点互助
//
//  Created by rimi on 16/8/19.
//  Copyright © 2016年 shen. All rights reserved.
//

#import "YILocation.h"

@interface YILocation ()

@end

@implementation YILocation

- (void)viewDidLoad {
    [super viewDidLoad];
       self.view.backgroundColor = [UIColor whiteColor];
       [self setNavItem];
}
-(void)setNavItem{
       self.title = @"选择城市";
       UIBarButtonItem *backItem = [YINavigationBar navBarItem:@"个人中心-left" title:nil who:self click:@selector(backClick) items:2];
       self.navigationItem.leftBarButtonItem = backItem;
}
-(void)backClick{
       [self.navigationController popViewControllerAnimated:YES];
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}



@end
